package com.yisoo.ubag.iot.vo;

import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class DeviceStatusMqttContentVo {

    private Date lastTime;
    private Date utcLastTime;
    private String clientIp;
    private Date utcTime;
    private Date time;
    private String productKey;
    private String deviceName;
    private String status;

//    JSONObject.toJSONString(o);
//    JSONObject.parseObject(str,DeviceStatusMqttContentVo.class);

}